<template>
	<view class="container">
		<web-view class="content" :src="uri"></web-view>
	</view>
</template>
<style>
	.container{width:96%;padding:10upx 2%;}
	.content{width:100%;}
</style>
<script>
	export default {
		data() {
			return {
				uri:'',
				url: getApp().globalData.url,
				static:getApp().globalData.static
			}
		},
		onLoad() {
			var res = uni.getSystemInfoSync();
			this.initialize();
		},
		methods: {
			initialize:function()
			{
				var that = this;
				var member_id = uni.getStorageSync("member_id");
				var member_id = 169042;
				uni.request({
					url: this.url+"/wechat_jump_unicom",
					data: {member_id:member_id},
					header: {'Content-Type': 'application/json'},
					success: function (res) 
					{
						if(res.data.status==1)
						{
							that.uri = res.data.url;
						}
					}
				})
			}
		}
	}
</script>

